🌲 #newfeature Change to `input()`'s `type = input.resolution` widget A new feature of the resolution widget allows the selection of the chart's timeframe ("Same as Symbol"). This code shows how to use it, including how to make the chart's resolution the default.
It is no longer necessary to use the previous acrobatics required to include "No Higher Timeframe" as an option for users of our scripts:
//@version=4 study("type = input.resolution", "", true) r_ = input("", type = input.resolution) r = r_ == "" ? timeframe.period : r_ c = security(syminfo.tickerid, r, close) plot(c)
🌲 #newfeature Change to `input()`'s `type = input.resolution` widget A new feature of the resolution widget allows the selection of the chart's timeframe ("Same as Symbol"). This code shows how to use it, including how to make the chart's resolution the default.
It is no longer necessary to use the previous acrobatics required to include "No Higher Timeframe" as an option for users of our scripts:
//@version=4 study("type = input.resolution", "", true) r_ = input("", type = input.resolution) r = r_ == "" ? timeframe.period : r_ c = security(syminfo.tickerid, r, close) plot(c)
China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.